public class ThrowTest {
	public static void main (String[] args) {
		try {
			method1();
		} catch (ArithmeticException e) {
			System.out.println("Devide by 0! Please try again!");
			e.printStackTrace();
		}
}
	
static void method1() {
	int i;
	
	try {
		i = 4 / 0;
		} catch (ArithmeticException e) {
			System.out.println("Method1: I do nothing, please handle it!");
			throw e;
		}
	}
}